from django.urls import path
from . import views

app_name = 'blog'
urlpatterns = [
    path('', views.index, name='index'),
    path('blog/<int:blog_id>', views.blog_detail, name='blog_detail'),
    path('blog/pub',views.pub_blog, name='pub_blog'),
    path('blog/pubBlogAPI', views.PubBlogAPI.as_view(), name='pub_blogAPI'),
    path('blog/commentAPI',views.CommentBlogAPI.as_view(), name='commentAPI'),
    path('blog/search',views.search, name='search'),
    path('blog/commentMoreAPI',views.CommentMoreAPI.as_view(), name='CommentMoreAPI'),
]